﻿using System.Xml.Serialization;

namespace SMARTMobile.Models
{
    /// <summary>
    /// <xs:element name="IsApproval" type="xs:int" minOccurs="0" />
    ////<xs:element name="ApprovalGPS" type="xs:int" minOccurs="0" />
    ////<xs:element name="customerkey" type="xs:string" minOccurs="0" />
    ////<xs:element name="customername" type="xs:string" minOccurs="0" />
    ////<xs:element name="Street" type="xs:string" minOccurs="0" />
    ////<xs:element name="Ward" type="xs:string" minOccurs="0" />
    ////<xs:element name="ProvinceCode" type="xs:string" minOccurs="0" />
    ////<xs:element name="TownCode" type="xs:string" minOccurs="0" />
    ////<xs:element name="DeliveryAddress" type="xs:string" minOccurs="0" />
    ////<xs:element name="address" type="xs:string" minOccurs="0" />
    ////<xs:element name="salepersonkey" type="xs:string" minOccurs="0" />
    ////<xs:element name="T2" type="xs:boolean" minOccurs="0" />
    ////<xs:element name="T3" type="xs:boolean" minOccurs="0" />
    ////<xs:element name="T4" type="xs:boolean" minOccurs="0" />
    ////<xs:element name="T5" type="xs:boolean" minOccurs="0" />
    ////<xs:element name="T6" type="xs:boolean" minOccurs="0" />
    ////<xs:element name="T7" type="xs:boolean" minOccurs="0" />
    ////<xs:element name="CustStyle" type="xs:string" minOccurs="0" />
    ////<xs:element name="GPSH" type="xs:double" minOccurs="0" />
    ////<xs:element name="GPSV" type="xs:double" minOccurs="0" />
    ////<xs:element name="FindField" type="xs:string" minOccurs="0" />
    /// </summary>
    [XmlRoot("Table")]
    public class XmlARCUST
    {
        [XmlElement("IsApproval")]
        public bool IsApproval { get; set; }
        [XmlElement("ApprovalGPS")]
        public int ApprovalGPS { get; set; }
        [XmlElement("customerkey")]
        public string customerkey { get; set; }
        [XmlElement("customername")]
        public string customername { get; set; }
        [XmlElement("Street")]
        public string Street { get; set; }
        [XmlElement("Ward")]
        public string Ward { get; set; }
        [XmlElement("ProvinceCode")]
        public string ProvinceCode { get; set; }
        [XmlElement("TownCode")]
        public string TownCode { get; set; }
        [XmlElement("DeliveryAddress")]
        public string DeliveryAddress { get; set; }
        [XmlElement("address")]
        public string address { get; set; }
        [XmlElement("salepersonkey")]
        public string salepersonkey { get; set; }
        [XmlElement("T2")]
        public bool T2 { get; set; }
        [XmlElement("T3")]
        public bool T3 { get; set; }
        [XmlElement("T4")]
        public bool T4 { get; set; }
        [XmlElement("T5")]
        public bool T5 { get; set; }
        [XmlElement("T6")]
        public bool T6 { get; set; }
        [XmlElement("T7")]
        public bool T7 { get; set; }
        [XmlElement("CustStyle")]
        public string CustStyle { get; set; }
        [XmlElement("FindField")]
        public string FindField { get; set; }
        [XmlElement("GPSH")]
        public double GPSH { get; set; }
        [XmlElement("GPSV")]
        public double GPSV { get; set; }
        [XmlElement("phone")]
        public string phone { get; set; }
        [XmlElement("ShopOwner")]
        public string ShopOwner { get; set; }  
        
        [XmlElement("Long")]
        public float Long { get; set; }
        [XmlElement("Lat")]
        public float Lat { get; set; }
    }
}
